#ifndef HECP_GET_DATA_H
#define HECP_GET_DATA_H

#include "qt_hecp.h"
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <QString>
#include <QDebug>
#include "config.h"
struct linE_entity_struct{
      char 	*key;
      char 	*value;
      struct linE_entity_struct *next;
};
typedef struct linE_entity_struct linE_entity_t;

linE_entity_t* linE_entity_append(linE_entity_t *eroot, const char *key,const char *value);
void linE_entity_free(linE_entity_t *eroot);

linE_entity_t *Get_Ceo_Data_By_Hecp(int method,char *ip,int port,char *URL,linE_entity_t*param);
int Post_Ceo_Data_By_Hecp(int method,char *ip,int port,char *URL,linE_entity_t*param);

char *Qstring_char_switch(QString tmp);
#endif // HECP_GET_DATA_H
